﻿using AspectCoreDemo.Transaction.Host.Infrastructures;
using AspectCoreDemo.Transaction.Host.Models;

namespace AspectCoreDemo.Transaction.Host.Repositories
{
    public interface IOrderRepository
    {
        [TransactionInterceptor]
        Task<Order> Create(Order order);
        Task<List<Order>> GetAll();
    }
}
